<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <!--<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no"/>-->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="web description is me">
    <meta name="author" content="wangqinmin">
    <link rel="icon" href="../img/icon/B.ico">
    <title>bootstrap图片响应式</title>
    <link rel="stylesheet" href="../bootstrap-3.3.7/css/bootstrap.css"/>
    <link rel="stylesheet" href="../bootstrap-3.3.7/css/bootstrap-theme.css"/>
    <link href="../css/ie10-viewport-bug-workaround.css" rel="stylesheet">
    <link href="../css/starter-template.css" rel="stylesheet">
    <script type="text/javascript" src="../jquery-3.3.1/jquery-3.3.1.js"></script>
    <script type="text/javascript" src="../bootstrap-3.3.7/js/bootstrap.js"></script>

    <style>
        div {
            border: 1px #c9302c solid;
        }
    </style>
</head>
<!-- 栅格系统的排版 -->
<body>
<!-- container：作用相当于一个自动居中的容器(用的地方很多，不然样式可能难看) -->
<!-- 图片响应式布局 -->
<div class="container">
    <div class="row">
        <div class="col-xs-12 col-md-6">
            <img src="../img/0.jpg" class="img-responsive">
        </div>
        <div class="col-xs-12 col-md-6">
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
        </div>
        <!-- 清除浮动，只在超小设备上显示该div -->
        <div class="clearfix visible-md"></div>
        <div class="col-xs-12 col-md-6">
            <img src="../img/1.jpg" class="img-responsive">
        </div>
        <div class="col-xs-12 col-md-6">
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
        </div>
        <div class="clearfix visible-md"></div>
        <div class="col-xs-12 col-md-6">
            <img src="../img/2.jpg" class="img-responsive">
        </div>
        <div class="col-xs-12 col-md-6">
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
        </div>
        <div class="clearfix visible-md"></div>
        <div class="col-xs-12 col-md-6">
            <img src="../img/3.jpg" class="img-responsive">
        </div>
        <div class="col-xs-12 col-md-6">
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
        </div>
        <div class="clearfix visible-md"></div>
        <div class="col-xs-12 col-md-6">
            <img src="../img/4.jpg" class="img-responsive">
        </div>
        <div class="col-xs-12 col-md-6">
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
            <span>col-xs-12 col-md-6</span><br/>
        </div>
    </div>
</div>

</body>
</html>